//
//  main.swift
//  ClassKvc
//
//  Created by lanou on 16/10/27.
//  Copyright (c) 2016年 lanou. All rights reserved.
//

import Foundation


let person = Person();
var dict:[String:NSObject] = ["name":"shuai","age":12,"sex":"mal"]

person.setValuesForKeysWithDictionary(dict)
println(person.name)

let leader = ClassA()

let waiter = ClassB()

leader.delegate = waiter

let time = "1"

if time == "1" {
  leader.delegate?.care()
}